import { $api } from "@/utils/api";

// 获取订单列表
export const listOrders = (params) => {
  return $fetchList(`/cc/gallery/order/list`, {
    method: "GET",
    query: {
      ...params,
    },
  });
};


// 新增订单
export const addOrder = (params) => {
  return $api(`/cc/gallery/order`, {
    method: "POST",
    body: params,
  });
};

